package cn.example.demo.service;

import cn.example.demo.pojo.Article;
import cn.example.demo.vo.ArticleVo;
import com.jfinal.plugin.activerecord.Page;

import java.util.List;

/**
 * @ProjectName: springbootmybatisinvoicings
 * @Package: cn.example.demo.service
 * @ClassName: ArticleService
 * @Author: liang
 * @Description:
 * @Date: 2020/4/25 10:30
 * @Version: 1.0
 */
public interface ArticleService {
    Object pageinate(int pageNumber, int pageSize);

    Object pageinate(int pageNumber, int pageSize, String test, String save);

    Object select();

    boolean delete(int id);

    Article findById(int id);

    boolean update(int id, String save, String test);

    boolean insert(ArticleVo articleVo);
}
